// eslint-disable-next-line no-unused-vars
import * as types from "./mutation-types";

const mutations = {
  [types.SHOW_LOADING](state) {
    state.loading = true;
  },
  [types.HIDE_LOADING](state) {
    state.loading = false;
  },
};
export default mutations;
// 通过提交commit让mutations更改状态
